/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package submarines.thread;

import submarines.EaPlayer;

/**
 *
 * @author sshiran
 */
public class PlayComputerThread extends Thread{
    EaPlayer cPlayer;
    public PlayComputerThread(EaPlayer player) {
        cPlayer = player;
    }
    
    public void run()
    {
        cPlayer.playTurn();
    }
}
